package org.bw.bookstore.book.service;

import org.bw.bookstore.common.entity.TbShop;
import org.bw.bookstore.common.utils.ResponseResult;

/**
 * @program:server-store
 * @description:门店接口
 * @author:guoshuai
 * @create:2020-10-27 09:01
 **/
public interface ShopService {
     /**
      * TODO 添加门店
      * @Description:
      * @Author: guoshuai
      * @Date: 2020-10-27 上午 09:06
      * @param shop: 要添加的门店信息
      * @return: com.bw.servercommon.utils.ResponseResult
      **/
     ResponseResult addShop(TbShop shop);
     /**
      * TODO 删除门店
      * @Description:
      * @Author: guoshuai
      * @Date: 2020-10-27 上午 09:06
      * @param shopId: 要删除的门店id
      * @return: com.bw.servercommon.utils.ResponseResult
      **/
     ResponseResult deleteShop(Integer shopId);
     /**
      * TODO 门店信息修改
      * @Description:
      * @Author: guoshuai
      * @Date: 2020-10-27 上午 09:06
      * @param shop: 要添加的门店信息
      * @return: com.bw.servercommon.utils.ResponseResult
      **/
     ResponseResult updateShop(TbShop shop);
     /**
      * TODO 全部门店
      * @Description:
      * @Author: guoshuai
      * @Date: 2020-10-27 上午 09:06
      * @return: com.bw.servercommon.utils.ResponseResult
      **/
     ResponseResult listShop();

}
